package com.baidu.shoppingmall.role.service;


import com.baidu.shoppingmall.role.domain.RoleDTO;
import com.baidu.shoppingmall.role.domain.RolePO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface RoleService extends IService<RolePO> {
    /**
     * 根据用户id查询用户权限
     * @return
     */
    List<RoleDTO> queryRole(String id);
}
